package model

// ForgotPasswordRequest 忘记密码请求参数
type ForgotPasswordRequest struct {
	Email     string `json:"email" binding:"required"`      // 邮箱
	Captcha   string `json:"captcha" binding:"required"`    // 验证码
	CaptchaId string `json:"captcha_id" binding:"required"` // 验证码ID
}

// VerifyForgotPasswordRequest 忘记密码验证请求参数
type VerifyForgotPasswordRequest struct {
	Email     string `json:"email" binding:"required"`      // 邮箱
	Password  string `json:"password" binding:"required"`   // 新密码
	Token     string `json:"token" binding:"required"`      // 验证令牌
	Captcha   string `json:"captcha" binding:"required"`    // 验证码
	CaptchaId string `json:"captcha_id" binding:"required"` // 验证码ID
}
